Northwoods.GoSilverlight 1.3.5 Assembly
DoLinkPortsChanged Method
See Also  Send Feedback
Northwoods.GoXam.Model Namespace > GraphLinksModel<NodeType,NodeKey,PortKey,LinkType> Class : DoLinkPortsChanged Method

linkdata
This should be called when a link data's connected node or port, either "from" or "to", may have changed.

Syntax

Visual Basic (Declaration) 
Public Sub DoLinkPortsChanged( _
   ByVal linkdata As LinkType _
) 
C# 
public void DoLinkPortsChanged( 
   LinkType linkdata
)

Parameters

linkdata

Remarks

This is used for model update, when the model data has changed and the model itself needs to be updated to reflect those changes.

If a link data object implements System.ComponentModel.INotifyPropertyChanged and if the key is a simple property on the data as reflected by the value of LinkFromPath, LinkToPath, LinkFromParameterPath, or LinkToParameterPath, the model will automatically call this method. Otherwise, you need to do so immediately after the value of FindFromNodeKeyForLink, FindToNodeKeyForLink, FindFromParameterForLink, or FindToParameterForLink has changed.

This raises Changed event(s) with a value of ModelChange.ChangedLinkFromPort and/or ModelChange.ChangedLinkToPort.

Requirements

See Also

© 2012 All Rights Reserved.